<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<!---*************************************引入片段***************************************------>
<!---*************************************引入共享片段头部***************************************------>
<head th:fragment="head(title)"><!---引入片段------>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0"><!--移动端的预览-->
    <title th:replace="${title}">帖子详情</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.10/semantic.min.css"><!--CSS-->
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">
    <link rel="stylesheet" href="../static/css/typo.css"  th:href="@{/css/typo.css}">
    <link rel="stylesheet" href="../static/css/animate.css" th:href="@{/css/animate.css}">
    <link rel="stylesheet" href="../static/lib/tocbot/tocbot.css" th:href="@{/lib/tocbot/tocbot.css}">
    <link rel="stylesheet" href="../../static/lib/editormd/css/editormd.min.css" th:href="@{/lib/editormd/css/editormd.min.css}">
</head>
<body>
<!---*************************************引入共享片段导航***************************************------>
<nav th:fragment="menu(n)" class="ui inverted attached segment  m-padded-tb-mini" ><!--显示最上面黑边框效果-->
    <div class="ui container">
        <div class="ui inverted secondary  stackable menu">
            <h2 class="ui teal  header item">管理后台</h2>
            <a href="#" th:href="@{/admin/controller}" class="  m-item item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i class="home icon"></i>论坛</a>
            <a href="#" th:href="@{/admin/types}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="idea icon"></i>分类</a>
            <a href="#" th:href="@{/admin/tags}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="tags icon" ></i>标签</a>
            <div class=" right menu m-item m-mobile-hide ">
                <div class="ui dropdown item">
                    <div class="text">
                        <img class="ui avatar image" src="https://unsplash.it/1000/400?image=1005" style="width: 30px;">
                        三玖
                    </div>
                    <i class="dropdown icon"></i>
                    <!--   下拉图标-->
                    <div class="menu">
                        <a href="#" th:href="@{/admin/logout}" class="item">注销</a>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>

<!---*************************************引入共享片段底部***************************************------>
<footer th:fragment="footer" class="ui inverted vertical segment  m-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui  inverted divided stackable  grid"><!--分成16分-->
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">

                        <img src="../static/images/qqqunliao.png" class="ui rounded image" alt="" style="width: 110px">
                    </div>
                </div>
            </div>


            <div class="three wide column">
                <h4 class="ui inverted header">最新帖子</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">新番详情</a>
                    <a href="#" class="item">动漫周边</a>
                    <a href="#" class="item">我永远爱nekano-miku</a>
                </div>
            </div>


            <div class="three wide column">
                <h4 class="ui inverted header">联系站长</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">Email:431305450@qq.com</a>
                    <a href="#" class="item">QQ:431305450</a>
                    <a href="#" class="item">Wechat:ZhiMao_DDBD</a>
                </div>
            </div>



            <div class="seven wide column">
                <h4 class="ui inverted header">声明</h4>
                <p class="m-text-thin m-text-spaced m-opacity-mini">这个一个为二次元动漫爱好者提供的一个动漫交流平台，
                    所以用户都可以对帖子进行评论，请大家文明交流。(三玖天下第一)</p>
            </div>

        </div>
        <div class="ui inverted section divider"></div>
        <p  class="m-text-thin m-text-spaced  m-opacity-mini">此论坛目前仅作为毕设使用，制作时间为2021-1-8至2021-?-?</p>
    </div>

</footer>

<!---*************************************引入共享片段js***************************************----->
<th:block th:fragment="script">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
    <script src="../../static/lib/editormd/editormd.min.js" th:src="@{/lib/editormd/editormd.min.js}"></script>
</th:block>


</body>
</html>